
import QtQuick
import QtQuick.Controls
import "./CustomControls"
Item{
    id: root
    width: 1024
    height: 600
    anchors.fill: parent

    ButtonControls{
        id: btn
        anchors.left: parent.left
        anchors.leftMargin: 40
        anchors.top: parent.top
        anchors.topMargin: 40
        width: 250
        height: 250
        img_width: 250
        img_height: 250
        back_img_path: "qrc:/image/musicplayer/musicplayer.png"
        btn_name: "musicplayer"
        cbClicked: function() {
            
        }
    }
    Label{
        text: qsTr("sound")
        anchors.top: btn.bottom
        anchors.topMargin: 10
        anchors.horizontalCenter: btn.horizontalCenter
        //anchors.verticalCenter: musicplayer.verticalCenter
        
        font {
            pixelSize: 20
            bold: true
        }
        color: "#1E90FF"
    }
    

    ButtonControls{
        id: test_btn
        anchors.left: btn.right
        anchors.leftMargin: 40
        anchors.top: parent.top
        anchors.topMargin: 40
        width: 250
        height: 165
        img_width: 250
        img_height: 165
        back_img_path: "qrc:/image/musicplayer/musicplayer.png"
        btn_name: "test_btn"
        cbClicked: function() {
            
        }
    }
    
    
}